package com.lyx.crm.dao;

import com.lyx.crm.base.BaseMapper;
import com.lyx.crm.vo.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


public interface UserMapper  extends BaseMapper<User,Integer> {

    //通过用户名查询用户记录，  返回用户对象
    User queryUserByName(String userName);

    List<Map<String,Object>> queryAllSales();




}